package cn.hfjava.kz.entity.po;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDate;
import lombok.Data;

/**
 * 个人申报审核表
 * @TableName applications
 */
@TableName(value ="applications")
@Data
public class Application implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 考生id
     */
    @TableField(value = "studentId")
    private Integer studentId;

    /**
     * 性别
     */
    @TableField(value = "gender")
    private String gender;

    /**
     * 出生日期，以 YYYY-MM 格式存储
     */
    @TableField(value = "birthdate")
    private LocalDate birthdate;

    /**
     * 户籍所在地
     */
    @TableField(value = "domicile")
    private String domicile;

    /**
     * 毕业院校
     */
    @TableField(value = "gradSchool")
    private String gradSchool;

    /**
     * 所学专业
     */
    @TableField(value = "major")
    private String major;

    /**
     * 毕业证编号
     */
    @TableField(value = "dipNum")
    private String dipNum;

    /**
     * 毕业时间
     */
    @TableField(value = "gradDate")
    private LocalDate gradDate;

    /**
     * 申报工种
     */
    @TableField(value = "aplPot")
    private String aplPot;

    /**
     * 申报等级
     */
    @TableField(value = "aplLevel")
    private String aplLevel;

    /**
     * 已取得本职业或相关职业及等级
     */
    @TableField(value = "prvCtf")
    private String prvCtf;

    /**
     * 证书编号
     */
    @TableField(value = "ctfNum")
    private String ctfNum;

    /**
     * 参保（或就业、学习）所在市
     */
    @TableField(value = "insCity")
    private String insCity;

    /**
     * 参加评价批次号
     */
    @TableField(value = "evaBatch")
    private String evaBatch;

    /**
     * 参加评价地点
     */
    @TableField(value = "evaLocation")
    private String evaLocation;

    /**
     * 个人事项承诺
     */
    @TableField(value = "prmsState")
    private String prmsState;

    /**
     * 承诺人签字
     */
    @TableField(value = "sigName")
    private String sigName;

    /**
     * 签字日期
     */
    @TableField(value = "signDate")
    private LocalDate signDate;

    /**
     * 单位审核意见
     */
    @TableField(value = "emplOp")
    private String emplOp;

    /**
     * 审核意见日期
     */
    @TableField(value = "emplDate")
    private LocalDate emplDate;

    /**
     * 申请人签名
     */
    @TableField(value = "aplSign")
    private String aplSign;

    /**
     * 申请日期
     */
    @TableField(value = "aplDate")
    private LocalDate aplDate;

    /**
     * 认定机构审核意见
     */
    @TableField(value = "insOp")
    private String insOp;

    /**
     * 审核人
     */
    @TableField(value = "revName")
    private String revName;

    /**
     * 审核日期
     */
    @TableField(value = "revDate")
    private LocalDate revDate;

    /**
     * 逻辑删除 0存在 1删除
     */
    @TableLogic
    @TableField(value = "deleted")
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}